.category-products-page {
  min-height: 100vh;
  background: #f8f9fa;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: center;
}

.category-info {
  background: #fff;
  margin-bottom: 12px;
  padding: 20px 16px;
}

.category-banner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-icon-large {
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.category-details {
  flex: 1;
}

.category-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
}

.category-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

.product-count {
  font-size: 12px;
  color: #999;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 8px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
  width: 4px;
}

.products-grid::-webkit-scrollbar-track {
  background: transparent;
}

.products-grid::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 2px;
}

.products-grid::-webkit-scrollbar-thumb:hover {
  background: #bfbfbf;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.product-card:active {
  transform: scale(0.98);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-info {
  padding: 12px;
}

.product-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 4px;
}

.product-original-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.product-sales {
  font-size: 12px;
  color: #999;
}

.loading-more {
  text-align: center;
  padding: 20px;
  color: #666;
}

.no-more {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
} 